package com.bcbim.smart_water.wisdom_big_screen.mapper;

import com.bcbim.common.sys.Code;
import com.bcbim.smart_water_interface.equipment_alarm_monitoring.vo.listAlarmMessageVO;
import com.bcbim.smart_water_interface.inspection.vo.InspectionPositionVO;
import com.bcbim.smart_water_interface.wisdom_big_screen.vo.ListAssetInformationVO;
import com.bcbim.smart_water_interface.wisdom_big_screen.vo.ListInspectionInformationVO;
import com.bcbim.smart_water_interface.wisdom_big_screen.vo.ListProblemInformationVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


/**
 * @Description: 智慧大屏 mapper
 * @Author lihonggang
 * @Date 2021/11/03  15:21
 * @Version V1.0
 **/
@Mapper
public interface WisdomBigScreenMapper {
    /**
     * @Description:  等级缺陷统计
     * @Date:  2021/11/3 15:28
     * @Param: []
     * @return: java.util.List<com.bcbim.common.sys.Code>
     * @Author: lihonggang
     **/
    List<Code> defectRecord();
    /**
     * @Description:  设备总数量
     * @Date:  2021/11/3 16:46
     * @Param: []
     * @return: int
     * @Author: lihonggang
     **/
    int equipmentCount(String roadId);
    /**
     * @Description:  设备在线数量
     * @Date:  2021/11/3 16:55
     * @Param: []
     * @return: int
     * @Author: lihonggang
     **/
    int equipmentOnlineCount(String roadId);
    /**
     * @Description:  设备离线数量
     * @Date:  2021/11/3 17:31
     * @Param: []
     * @return: int
     * @Author: lihonggang
     **/
    int equipmentOfflineCount(String roadId);

    /**
     * @Description:  报警信息列表查询
     * @Date:  2021/11/4 9:27
     * @Param: []
     * @return: java.util.List<com.bcbim.pipeline_interface.equipment_alarm_monitoring.vo.listAlarmMessageVO>
     * @Author: lihonggang
     **/
    List<listAlarmMessageVO> listAlarmMessage();
    /**
     * @Description:  巡检信息列表查询
     * @Date:  2021/11/4 9:45
     * @Param: []
     * @return: int
     * @Author: lihonggang
     **/

    List<ListInspectionInformationVO> listInspectionInformation();
    /**
     * @Description:  查看所有设备
     * @Date:  2021/11/19 14:08
     * @Param: [] 
     * @return: java.util.List<ListAssetInformationVO>
     * @Author: lihonggang
     **/
    List<ListAssetInformationVO> listAssetInformation();
    /**
     * @Description:  查询报警设备
     * @Date:  2021/11/20 11:32
     * @Param: []
     * @return: java.util.List<com.bcbim.pipeline_interface.wisdom_big_screen.vo.ListAssetInformationVO>
     * @Author: lihonggang
     **/
    List<ListAssetInformationVO> listAssetAlarmInformation();
    /**
     * @Description:  巡检地图最后一个巡检员巡检路线
     * @Date:  2021/11/19 14:08
     * @Param: [] 
     * @return: java.util.List<InspectionPositionVO>
     * @Author: lihonggang
     **/
    List<InspectionPositionVO> listInspectionPosition();
    /**
     * @Description:  工单信息列表查询
     * @Date:  2021/11/19 14:07
     * @Param: [] 
     * @return: java.util.List<com.bcbim.pipeline_interface.wisdom_big_screen.vo.ListProblemInformationVO>
     * @Author: lihonggang
     **/
    List<ListProblemInformationVO> listProblemInformation();
}
